package com.example.demo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Activityvo {
    private Integer id;

    private String name;

    private Integer creator_id;
    private String creator;

    private String info;
    private String picture;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime start_time;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime end_time;

    private String location;

    private String state;

    private Integer joiner_number;
    private Boolean is_join;

    private Integer max_num;
}
